package com.yanqu.road.logic.xlogic.rank.user.entiety;

import com.yanqu.road.entity.rank.xrank.XUserRank;

public class XGetUserRankResult {

    private XUserRank userRank;
    private int myRank;

    public XGetUserRankResult(XUserRank userRank, int myRank) {
        this.userRank = userRank;
        this.myRank = myRank;
    }

    public XGetUserRankResult() {
        this.userRank = null;
        this.myRank = -1;
    }

    public XUserRank getUserRank() {
        return userRank;
    }

    public int getMyRank() {
        return myRank;
    }

}
